package iterator;

public class Book {
    private String ISBN;
    private String name;
    private int price;

    public Book(String ISBN, String name, int price) {
        this.ISBN = ISBN;
        this.name = name;
        this.price = price;
    }

    @Override
    public String toString() {
        return "Book{" +
                "ISBN='" + ISBN + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                '}';
    }
}
